﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="icon" type="image/gif" href="~/img/animated_favicon1.gif">
    <meta name="viewport" content="width=device-width" />
    <link href="~/UILibs/easyui/themes/default/easyui.css" rel="stylesheet" />
    <link href="~/UILibs/easyui/themes/icon.css" rel="stylesheet" />
    <link href="~/Css/css.css" rel="stylesheet" />

    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script src="~/UILibs/easyui/jquery.easyui.min.js"></script>
    <script src="~/UILibs/easyui/locale/easyui-lang-zh_CN.js"></script>

    <script src="~/Scripts/jquery.unobtrusive-ajax.min.js"></script>
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.js"></script>

    <script src="~/Scripts/SimpleTree.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".st_tree").SimpleTree({
                click: function (a) {
                    if (!$(a).attr("hasChild"))
                        alert($(a).attr("ref"));
                }
            });
        });

        $(function () {
            var a = 1000;
            //
            $('#naMenu').accordion({
                fit: true,
                border: false
            });
            $("#naMenu ul li").css("margin-top", "20px");
            $("#naMenu ul").tree({
                "onClick": function (Node) {
                    var url = Node.url;
                    var text = Node.text;
                    var icon = Node.iconCls;
                    if ($("#tabs").tabs("exists", text)) {
                        $("#tabs").tabs("select", text)
                    }
                    else {
                        $("#tabs").tabs("add", {
                            title: text,
                            icon: icon,
                            content: "<iframe scrolling='auto' frameborder='0' src='" + url + "' width='100%' height='98%'>",
                            closable: true,
                        });
                    }
                }
            });
            var obj_lis = document.getElementById("naMenu").getElementsByTagName("li");
            for (i = 0; i < obj_lis.length; i++) {
                if (obj_lis[i].innerHTML.indexOf("用户管理") > -1) {
                }
            }
        });
        var pageConfig = {
            dataCus: null,
            dataManagerlog: null,
            dataMaFeed: null,
            areaLogCount: null

        };
        function getNotice() {
            $.ajax({
                url: "/Home/GetNoRead",
                datatype: "JOSN",
                type: "post",
                success: function (data) {
                    pageConfig.dataCus = data.cus;
                    pageConfig.dataManagerlog = data.managerlog;
                    pageConfig.dataMaFeed = data.maFeed;
                    pageConfig.areaLogCount = data.areaLogCount;
                    //alert(pageConfig.data);//ok    
                    $.messager.alert("未读消息提示", "未读用户建议条数：" + pageConfig.dataCus + '，<br>' + "未读理货员消息条数为：" + pageConfig.dataMaFeed + '，<br>' + "理货员下架操作记录条数为 ：" + pageConfig.dataManagerlog + '，<br>' + "采销人员下架操作记录条数为 ：" + pageConfig.areaLogCount, "info");
                },
            });

        }
    </script>


    <style>
        .badge {
            padding-right: 9px;
            padding-left: 9px;
            border-radius: 9px;
        }

        .label, .badge {
            display: inline-block;
            padding: 2px 4px;
            font-size: 11.844px;
            font-weight: bold;
            line-height: 14px;
            color: #fff;
            white-space: nowrap;
            vertical-align: middle;
            background-color: #999;
            overflow: hidden;
        }

        .label-danger, .badge-danger {
            background-color: #dd514c;
        }


        .nav > li > a:hover, .nav > li > a:focus {
            text-decoration: none;
            background-color: #eee;
        }

        .badge {
            padding-top: 1px;
            padding-bottom: 3px;
            line-height: 15px;
        }

            .badge-success, .badge.badge-success, .label-success, .label.label-success {
                background-color: #82AF6F;
            }

        .badge, .label {
            font-size: 12px;
        }

        .fa-envelope:before {
            content: "\f0e0";
        }

        *:before, *:after {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

        .badge, .label {
            font-weight: 400;
            background-color: #ABBAC3;
            text-shadow: none;
        }

        .fa {
            display: inline-block;
            font: normal normal normal 14px/1 FontAwesome;
            font-size: inherit;
            text-rendering: auto;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        * {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

        user agent stylesheet i, cite, em, var, address, dfn {
            font-style: italic;
        }

        .ace-nav > li.open > a, .ace-nav > li > a:focus, .ace-nav > li > a:hover {
            background-color: #2c5976;
            color: #FFF;
        }
    </style>
</head>


<body class="easyui-layout">
    <div id="title" data-options="region:'north',border:false" style="height: 80px; background-color: #046cc5; overflow: hidden">
        <div id="title1" style="position: relative; font-size: 30px; float: left; color: white; padding-left: 50px; font-weight: bold; height: 50px; line-height: 50px; padding-top: -20px; font-weight: bold;">
            <span style="position: absolute; left: 100px; top: 15px; width: 500px;">仓鲜便利店远程管理系统</span>
        </div>
        <a href="/Login/Index" id="exit" style="font-size: 15px; float: right; color: white; font-weight: bold; height: 50px; padding-top: 40px; margin-right: 50px; text-decoration: none;">退出系统
        </a>
        <a data-toggle="dropdown" class="dropdown-toggle" onclick="getNotice()" aria-expanded="true" style="float: right; cursor: pointer; height: 50px; padding-top: 40px; margin-right: 50px; text-decoration: none;">
            <i style="color: white; font-size: 15px; font-weight: bold; height: 50px;">未读消息</i>
            <span class="badge badge-success">！</span>
        </a>
        @*        <a href="#" title="消息">   href=""  <span class="badge badge-danger">10</span><i class="Hui-iconfont" style="font-size:18px"></i></a>*@
    </div>

    <div id="dd"></div>

    <div id="menu" data-options="region:'west',title:'导航'" style="width: 200px">
        <div id="naMenu" class="easyui-accordion" style="font-size: xx-large">
            <div title="客户信息管理">
                <ul class="easyui-tree">
                    <li data-options="url:'/Users/Index',iconCls:'icon-one'">客户信息管理</li>
                    <li data-options="url:'/Recharge/Index',iconCls:'icon-five'">用户充值记录统计</li>
                    <li data-options="url:'/CustomerFlow/Index',iconCls:'icon-sss'">客户复购情况分析</li>
                    <li data-options="url:'/FeedBackCustomer/Index',iconCls:'icon-two'">用户意见统计</li>

                </ul>
            </div>
            <div title="人员/点位信息管理" style="font-size: xx-large">
                <ul class="easyui-tree">
                     <li data-options="url:'/Manager/Index',iconCls:'icon-man'">理货员信息管理</li>                   
                    <li data-options="url:'/MarketStoreInfo/Index',iconCls:'icon-one'">点位信息管理(手动录入)</li>
                    <li data-options="url:'/BigCustomer/Index',iconCls:'icon-one'">点位信息管理(小程序)</li>       
                    <li data-options="url:'/EmployInCompany/Index',iconCls:'icon-man'">公司员工信息管理</li>             
                    <li data-options="url:'/Admin/Index',iconCls:'icon-nine'" style="font-size: xx-large">后台人员信息管理</li>
                    @*<li data-options="url:'/Users/Index',iconCls:'icon-one'">客户信息管理</li>*@   
                   
                    <li data-options="url:'/Supplier/Index',iconCls:'icon-one'">供应商管理</li>
                    @*<li data-options="url:'/AreaManager/Index',iconCls:'icon-one'">采销人员管理</li>*@
                    <li data-options="url:'/LeagueLogin/Index',iconCls:'icon-one'">加盟者信息管理</li>
                    <li data-options="url:'/JoinBusiness/Index',iconCls:'icon-one'">有意向加盟者信息统计</li>

                </ul>
            </div>
            <div title="店铺管理">
                <ul class="easyui-tree">
                    <li data-options="url:'/StoreManager/Index',iconCls:'icon-seven'">店铺管理</li>
                    <li data-options="url:'/WareDis/Index',iconCls:'icon-seven'">单品优惠管理</li>  
                    <li data-options="url:'/StoreDicount/Index',iconCls:'icon-seven'">App端店铺折扣管理</li>                   
                     <li data-options="url:'/SupportNumShelf/Index',iconCls:'icon-seven'">店铺货架承载量管理</li>
                </ul>
            </div>
            <div title="交易订单统计" style="font-size: xx-large">
                <ul class="easyui-tree">

               @*       <li data-options="url:'/ProductStatic/Index',iconCls:'icon-three'">商品统计</li>*@
                    <li data-options="url:'/OrderStatistic/Index',iconCls:'icon-three'">订单统计</li>
                    <li data-options="url:'/SaleAmountChart/Index',iconCls:'icon-five'">各店铺营业情况报表</li>
                     <li data-options="url:'/StoreDaySaleChart/Index',iconCls:'icon-five'">点位日平均销售额统计表</li>                    
                     <li data-options="url:'/LevelConsumChart/Index',iconCls:'icon-five'">各消费段人群所占比例分析</li>
                    <li data-options="url:'/OrderByTimeEchart/Index',iconCls:'icon-five'">时间段营业情况分析</li>
                    
                </ul>
            </div>
            @*            <div class="st_tree" title="交易订单统计"><a href="#"></a>
                <ul>   三级菜单   引用的 不是  easyui     测试的  成功的     

                    <li  data-options="url:'/OrderStatistic/Index',iconCls:'icon-three'">仓库管理
                        <ul>
                             <li data-options="url:'/OrderStatistic/Index',iconCls:'icon-three'">订单统计</li>
                            <li><a href="#">库存管理</a></li>
                            <li><a href="#">收货管理</a></li>
                            <li><a href="#">发货管理</a></li>   
                        </ul>
                    </li>
                </ul>

            </div>*@
            <div title="商品管理">
                <ul class="easyui-tree">
                    <li data-options="url:'/SaleDetail/Index',iconCls:'icon-seven'">商品销售明细统计</li>
                    <li data-options="url:'/ReplenishMinNum/Index',iconCls:'icon-seven'">店铺商品上架排行</li>
                     <li data-options="url:'/Loss/Index',iconCls:'icon-seven'">商品盈亏情况统计</li>
                    @*<li data-options="url:'/ProOutNumMoneyChart/Index',iconCls:'icon-five'">商品出库报表</li>*@
                </ul>
            </div>
            @* <div title="仓库商品统计">
                <ul class="easyui-tree">
                    <li data-options="url:'/ProductStatic/Index',iconCls:'icon-four'">仓库商品统计</li>
                    <li data-options="url:'/Replenish/Index',iconCls:'icon-four'">仓库商品补购</li>
                </ul>
            </div>*@
                        <div title="理货员配送记录统计">
                <ul class="easyui-tree">
                    <li data-options="url:'/ManagerWorkRecord/Index',iconCls:'icon-four'">理货员配送记录统计</li>
                </ul>
            </div>
            <div title="支付方式分析">  
                <ul class="easyui-tree">
                    <li data-options="url:'/PayMode/Index',iconCls:'icon-eight'">支付途径分析</li>

                </ul>
            </div>
            <div title="店铺复购情况分析">
                <ul class="easyui-tree">
                    <li data-options="url:'/RepeatBuySta/Index',iconCls:'icon-sss'">各个店铺复购情况分析</li>
                    @*<li data-options="url:'/CustomerFlow/Index',iconCls:'icon-sss'">客户复购情况分析</li>*@
                </ul>
            </div>

            <div title=" 意见反馈统计 ">
                <ul class="easyui-tree">
               @*<li data-options="url:'/FeedBackCustomer/Index',iconCls:'icon-two'">用户意见统计</li>*@
                    <li data-options="url:'/ManagerFeedBack/Index',iconCls:'icon-two'">理货员意见统计</li>
                    @* <li data-options="url:'/OperateLog/Index',iconCls:'icon-five'">理货员下架操作统计</li>*@
                </ul>
            </div>

            <div title=" 上下架商品分析 ">
                <ul class="easyui-tree">
                 @*    <li data-options="url:'/UpShelf/Index',iconCls:'icon-five'">上架操作统计</li>*@
                    <li data-options="url:'/ManagerShelfLog/Index',iconCls:'icon-five'">上架操作统计</li>
                    <li data-options="url:'/OperateLog/Index',iconCls:'icon-five'">下架操作统计</li>
                    @* <li data-options="url:'/AreaLogin/Index',iconCls:'icon-two'">采销人员下架统计</li>  *@
                </ul>
            </div>
                        <div title="线上预定管理">
                <ul class="easyui-tree">
                  @*<li data-options="url:'/PancakeOrderStatic/Index',iconCls:'icon-five'">线上预定订单统计</li>   *@           
                    <li data-options="url:'/PancakeDis/Index',iconCls:'icon-five'">线上优惠活动</li>
                    <li data-options="url:'/PresellWares/Index',iconCls:'icon-five'">线上商品管理</li>
                    <li data-options="url:'/PwaresType/Index',iconCls:'icon-five'">线上商品类型管理</li>
                   <li data-options="url:'/Standard/Index',iconCls:'icon-two'">线上商品规格管理</li> 
                </ul>
            </div>

            @*  <div title="用户充值记录统计">   
                <ul class="easyui-tree">
                    <li data-options="url:'/Recharge/Index',iconCls:'icon-five'">用户充值记录统计</li>
                </ul>
            </div>*@
        </div>
    </div>
    <div data-options="region:'center'">
        <div class="easyui-tabs" id="tabs" data-options="fit:true,border:false"></div>


    </div>
    <div data-options="region:'south'" style="height: 30px; background-color: #3E3D3D; overflow: hidden;">
        <div style="font-size: 12px; color: white; height: 30px; text-align: center; line-height: 30px;">
            Create By 河北十一维空间网络科技有限公司     
        </div>
    </div>

</body>
</html>
